<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ page isELIgnored="false" %> 
<%
String path = request.getContextPath();
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="pragma" content="no-cache" />
		<meta http-equiv="cache-control" content="no-cache" />
		<meta http-equiv="expires" content="0" />
		<link rel="stylesheet" type="text/css" href="<%=path %>/css/base.css" />
		<script type="text/javascript" src="<%=path %>/jsxx/jsxxBus.js"></script>
        <script language="javascript">
           function tsgqr(xuesheng_id)
           {
               if(confirm('您确定当前学生可以离校?'))
               {
                 	var url="<%=path %>/jwc?type=lxqr&xuesheng_id="+xuesheng_id;
				 	window.location.href=url;
			   }
           }
           
       </script>
	</head>

	<body leftmargin="2" topmargin="2" background='<%=path %>/img/allbg.gif'>			
			<table width="98%" border="0" cellpadding="2" cellspacing="1" bgcolor="#D1DDAA" align="center" style="margin-top:8px">
				<tr bgcolor="#E7E7E7">
					<td height="14" colspan="9" background="<%=path %>/img/tbg.gif">&nbsp;教务处离校确认&nbsp;</td>
				</tr>
				<tr align="center" bgcolor="#FAFAF1" height="22">
					<td>学号</td>
					<td>姓名</td>
					<td>性别</td>
					<td>入学日期</td>
					<td>身份证号</td>
					<td>所在院系</td>
					<td>联系电话</td>
					<td>添加日期</td>
					<td>离校确认</td>
		        </tr>	
				<c:forEach items="${requestScope.xueshengList}" var="xuesheng">
				<tr align='center' bgcolor="#FFFFFF" onMouseMove="javascript:this.bgColor='red';" onMouseOut="javascript:this.bgColor='#FFFFFF';" height="22">
					<td bgcolor="#FFFFFF" align="center">
						${xuesheng.xuehao}
					</td>
					<td bgcolor="#FFFFFF" align="center">
						${xuesheng.xingming}
					</td>
					<td bgcolor="#FFFFFF" align="center">
						${xuesheng.xingbie}
					</td>
					<td bgcolor="#FFFFFF" align="center">
						${xuesheng.ruxue}
					</td>
					<td bgcolor="#FFFFFF" align="center">
						${xuesheng.shenfenzheng}
					</td>
					<td bgcolor="#FFFFFF" align="center">
						${xuesheng.yuanxi}
					</td>
					<td bgcolor="#FFFFFF" align="center">
						${xuesheng.lianxi}
					</td>
					<td bgcolor="#FFFFFF" align="center">
						${xuesheng.riqi}
					</td>
					<td bgcolor="#FFFFFF" align="center">
						<input type="button" value="离校确认" onclick="tsgqr(${xuesheng.id})"/>
					</td>
				</tr>
				</c:forEach>
			</table>
	</body>
</html>
